/* 卡片标题
 * @Author: wujie 
 * @Date: 2018-06-14 09:15:26 
 * @Last Modified by: wujie
 * @Last Modified time: 2018-07-24 09:55:37
 */
import React from 'react'
import { Row } from 'antd'
import styles from './index.scss'

const Card = (props) => {
  const { title } = props
  return (
    <Row style={{paddingTop: 8, paddingLeft: 8, paddingRight: 8}}>
      <Row className={styles["title-container"]}>
        <div style={{height: '50px', lineHeight: '50px', fontSize: 20, textIndent: 28}}>
          {title}
        </div>
      </Row>
        {props.children}
    </Row>
  )
}

export default Card